import { StringGradients } from "ant-design-vue/lib/progress/props"

export interface tabHeaderType {
    "prop": string,
    "label": string,
    id?: string,
}
export interface baseType {
    [key: string]: string
}

export interface subMenuType {
    name: string,
    path: string,
    id: string,
    code?: string,
    isTrue: boolean,
    icon?: string,
    img?: string,
    micon?: string,
    sub?: baseType[],
    list?: baseType[],
    isSub?: string,
    children?: subMenuType[]
}

export interface menuType {
    name: string,
    path: string,
    icon: string,
    micon?: string,
    code?: string,
    img: string,
    id: string,
    sub?: baseType[],
    list?: baseType[],
    isTrue: boolean,
    isSub?: string,
    children?: subMenuType[]
}

// 易损性管理
export interface trafficType {
    name: string,
    path: string,
    icon: string,
    id: string,
    isTrue: boolean,
    children: trafficSubType[]
}
// 易损性管理
export interface trafficSubType {
    name: string,
    path: string,
    id: string,
    isTrue: boolean,
    icon: string,
    children?: trafficSubType[],
    type_name?: string
}
// 子系统
export type subSysType = {
    "name": string,
    "id": string,
    "state": string,
    "selected": boolean,
    apps?: subSysType[]
}

//  项目
export type objectType = {
    id?: string,
    area: string,
    left_up_latitude: string,
    left_up_longitude: string,
    name: string,
    remark: string,
    right_down_latitude: string,
    right_down_longitude: string,
    engineering_system: string,
    engineering_system_info: string,
    create_time?: string,
    tenant_id?: string,
    code: string
}

